﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="createnewindex.aspx.cs" Inherits="createnewindex" %>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>创建新索引</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <asp:Label ID="Label1" runat="server" Text="创建新索引"/>
    <hr/>
    标题： <asp:TextBox ID="TextBox1" runat="server" Width="367px" />
    <asp:RequiredFieldValidator ID="r1" runat="server" ControlToValidate="TextBox1" ErrorMessage="标题不能为空！" ForeColor="Red"/>
    <hr/>
    分类： <asp:DropDownList ID="DropDownList1" runat="server" Height="19px" 
            Width="367px"/>
    <hr/>
    <asp:Label ID="Label2" runat="server" Text="内容：" Height="100" /> 
        <FCKeditorV2:FCKeditor ID="CKEditorControl1" runat="server" BasePath="~/fckeditor/">
        </FCKeditorV2:FCKeditor>
       
       <%-- <asp:TextBox ID="TextBox2" 
            runat="server" Height="200px" 
            Width="367px" Columns="10" Rows="100" TextMode="MultiLine"/>--%>
            <asp:RequiredFieldValidator ID="r2" runat="server" ControlToValidate="CKEditorControl1" ErrorMessage="内容不能为空！" ForeColor="Red"/>
    <hr/>
    <asp:Button ID="Button1" runat="server" Text="提交" Width="87px" 
            onclick="Button1_Click"/>
    &nbsp;&nbsp;
    <asp:Button ID="Button2" runat="server" Text="取消" Width="87px" 
            onclick="Button2_Click"/>
    </div>
    </form>
</body>
</html>
